package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.PageDTO;
import com.hmall.item.pojo.Item;

public interface IItemService extends IService<Item> {

    PageDTO<Item> findPage(Long page, Long size);

    void addItem(Item item);

    void updateStatus(Long id, Long sta);

    boolean updateById(Item item);

    void deleteById(Long id);
}
